
.row
  -if can? :manage, "客户管理"
    .col-md-3          
      .info-box
        a href = "/customers/new" 
          span.info-box-icon.bg-green
            i.fa.fa-user
        .info-box-content
          span.info-box-text 客户新增
          span.info-box-number 100
.row
  -if can? :manage, "配件管理"
    .col-md-3          
      .info-box
        a href = "/part_purchases" 
          span.info-box-icon.bg-primary
            i.fa.fa-cart-plus
        .info-box-content
          span.info-box-text 配件采购
          span.info-box-number 100
    .col-md-3          
      .info-box
        a href = "/part_salses" 
          span.info-box-icon.bg-navy
            i.fa.fa-shopping-basket
        .info-box-content
          span.info-box-text 配件零售
          span.info-box-number 100
    .col-md-3          
      .info-box
        a href = "/part_stockins" 
          span.info-box-icon.bg-purple
            i.fa.fa-download
        .info-box-content
          span.info-box-text 配件入库
          span.info-box-number 100
    .col-md-3          
      .info-box
        a href = "/part_stockouts" 
          span.info-box-icon.bg-red
            i.fa.fa-upload
        .info-box-content
          span.info-box-text 配件出库
          span.info-box-number 100

.row
  -if can? :manage, "工单管理"
    .col-md-3          
      .info-box
        a href = "/order_maintains/new" 
          span.info-box-icon.bg-aqua
            i.fa.fa-cogs
        .info-box-content
          span.info-box-text 维修开单
          span.info-box-number 100
    .col-md-3          
      .info-box
        a href = "/order_beauties/new" 
          span.info-box-icon.bg-red
            i.fa.fa-shower
        .info-box-content
          span.info-box-text 美容开单
          span.info-box-number 100
  -if can? :manage, "服务管理"
    .col-md-3          
      .info-box
        a href = "/service/maintain" 
          span.info-box-icon.bg-green
            i.fa.fa-cogs
        .info-box-content
          span.info-box-text 维修服务
          span.info-box-number 100
    .col-md-3          
      .info-box
        a href = "/service/beauty" 
          span.info-box-icon.bg-primary
            i.fa.fa-shower
        .info-box-content
          span.info-box-text 美容服务
          span.info-box-number 100
.row
  -if can? :manage, "财务管理"
    .col-md-3          
      .info-box
        a href = "/finance/maintain_payment" 
          span.info-box-icon.bg-purple
            i.fa.fa-btc
        .info-box-content
          span.info-box-text 维修结算
          span.info-box-number 100
    .col-md-3          
      .info-box
        a href = "/finance/beauty_payment" 
          span.info-box-icon.bg-maroon
            i.fa.fa-jpy
        .info-box-content
          span.info-box-text 美容结算
          span.info-box-number 100
    .col-md-3          
      .info-box
        a href = "/finance/purchase_payment" 
          span.info-box-icon.bg-yellow
            i.fa.fa-usd
        .info-box-content
          span.info-box-text 采购结算
          span.info-box-number 100

